<!DOCTYPE html>
<html class="ui-page-login">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <script src="__PUBLIC__/home/plugins/layer/layer.js"></script>
    <script src="__PUBLIC__/mui/js/mui.min.js"></script>
    <script src="__PUBLIC__/js/angular.js"></script>
    <script src="__PUBLIC__/common.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/mui/css/mui.css" />
    <style>
        #member-login{
            display: none;
        }
        .area {
            margin: 20px auto 0px auto;
        }

        .mui-input-group {
            margin-top: 10px;
        }

        .mui-input-group:first-child {
            margin-top: 20px;
        }

        .mui-input-group label {
            width: 38%;
            font-size: 15px;
            color: grey;

        }

        .mui-input-row label~input,
        .mui-input-row label~select,
        .mui-input-row label~textarea {
            width: 70%;
        }

        .mui-checkbox input[type=checkbox],
        .mui-radio input[type=radio] {
            top: 6px;
        }

        .mui-content-padded {
            margin-top: 25px;
        }

        .mui-btn {
            padding: 10px;
        }

        .link-area {
            display: block;
            margin-top: 25px;
            text-align: center;
        }

        .spliter {
            color: #bbb;
            padding: 0px 8px;
        }

        .oauth-area {
            position: absolute;
            bottom: 20px;
            left: 0px;
            text-align: center;
            width: 100%;
            padding: 0px;
            margin: 0px;
        }

        .oauth-area .oauth-btn {
            display: inline-block;
            width: 50px;
            height: 50px;
            background-size: 30px 30px;
            background-position: center center;
            background-repeat: no-repeat;
            margin: 0px 20px;
            /*-webkit-filter: grayscale(100%); */
            border: solid 1px #ddd;
            border-radius: 25px;
        }

        .oauth-area .oauth-btn:active {
            border: solid 1px #aaa;
        }

        .oauth-area .oauth-btn.disabled {
            background-color: #ddd;
        }

        .login-active {
            background: #f3363a;
        }
        .content{
            width: 60%;
            float: right;
            line-height: 40px;
            height: 40px;
            text-indent: 2em;
            font-size: 16px;
            text-align: right;
            padding-right: 1em;


        }
        .go-item{
            position: absolute;
            bottom: 0;
            left: 0 ;
            right: 0;
            padding: 0;
            margin: 0;
            background: white;
            height: 60px;
            text-align: center;

        }
        #user-login .mui-input-row .time{
            width: 65%;
            color: black;
        }
        #user-login .mui-input-row .status{
            width: 35%;
            font-size: 14px;
            font-weight: bold;
            font-family: "Microsoft YaHei UI Light";

        }

        .mui-input-group  .mui-input-row:nth-child(1){
            border-top: 1px solid #c8c7cc;
        }
        .mui-input-group  .mui-input-row:after{
            left: 0;
        }

        .mui-input-group  .mui-input-row:nth-child(1):after{
            background: none;
        }
        .mui-input-group  .mui-input-row:last-child:after{
            background: none;
        }
        #user-login .mui-input-group{
            margin-top: 0;
        }
        #withdraw{
            color: white;font-size: 16px;line-height: 44px;
            margin: 0;padding: 0;height: 44px;
        }
        #user-login .mui-input-group{
            background: #f6f6f6
        }

    </style>
    <link rel="stylesheet" href="__PUBLIC__/js/nice-validator-0.10.11/dist/jquery.validator.css" />
    <script src="__PUBLIC__/js/nice-validator-0.10.11/dist/jquery.validator.js"></script>
    <script src="__PUBLIC__/js/nice-validator-0.10.11/dist/local/zh-CN.js"></script>
</head>
<body ng-app="myApp" ng-controller="Ctrl" ng-cloak>
<header class="mui-bar mui-bar-nav" style="background:#f3363a;" >
    <a class="mui-icon mui-icon-left-nav mui-pull-left" style="color: white" href="/index.php/Home/agen/member"></a>
    <h1 class="mui-title login-item" style="color: white">代理审核</h1>
</header>
<div class="mui-content" id="user-login">
    <div id="list">
    <div class="mui-input-group" style="margin-top: 3px" ng-repeat="review in message">
        <div class="mui-input-row" style="background:white">
            <label class="time">
                <div ng-show="review.type == 1">
                    类型:注册
                </div>
                <div ng-show="review.type == 2">
                    类型:升级
                </div>
            </label>
            <div class="content status" style="color: #f2373b">
                <div ng-show="review.status == 1">
                    待审核
                </div>
                <div ng-show="review.status == 2">
                    代理已审核
                </div>
                <div ng-show="review.status == 3">
                    厂家已审核
                </div>
            </div>
        </div>
        <div class="mui-input-row">
            <label>代理级别</label>
            <div class="content">
                {{review.levelname}}
            </div>
        </div>
        <div class="mui-input-row">
            <label>账号</label>
            <div class="content">
                {{review.account}}
            </div>
        </div>
        <div class="mui-input-row">
            <label>上级代理号</label>
            <div class="content">
                {{review.upagenaccount}}
            </div>
        </div>
        <div class="mui-input-row" style="background:white">
            <button type="button" style="margin-right: 1em;text-align: center;padding: 5px 10px;height: 30px;margin-top: 5px;border-radius: 0" class="mui-btn mui-btn-danger mui-btn-outlined" ng-click="detail(review.orderid,review.agenid,review.id)">详情</button>
        </div>
    <!--</div>-->
    </div>
</div>
</div>

<include file="./Application/Home/View/pub/agentfoot.html" name="m"/>
<script>
    var app = getApp("myApp", []);

    app.controller('Ctrl', function ($scope, $http) {
        scrolldownload($scope,$http,'/index.php/Home/AgentOnlineorder/getdownreview');

        //详情
        $scope.detail = function (orderid,agen,viewid) {
            //console.log(agenid,orderid,agen)
            window.location.href = "/index.php/Home/Agen/auditcontent?orderid="+orderid+"&agen="+agen+"&viewid="+viewid;
        }
    })
</script>
</body>
</html>